package com.lzy.product.apis;

import com.lzy.product.dtos.agent.AgentProtocolYieldRatioDto;

import java.util.List;

/**
 * 协议返现设置
 * Created by WIN7 on 2018/04/14.
 */
public interface AgentProtocolYieldRatioServiceApi extends BaseServiceApi<AgentProtocolYieldRatioDto> {

    /**
     * 获取协议返现信息
     * @param protocolId
     * @return
     */
    List<AgentProtocolYieldRatioDto> selectByProtocolId(Long protocolId);

    /**
     * 物理删除返现
     *
     * @param protocolId
     * @return
     */
    Boolean deleteByProtocolId(Long protocolId);

}
